package com.chushouya.product.dto.admin.product.evaluate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("sku评估项目")
public class SkuEvaluateItemDTO {

    @ApiModelProperty("sku评估项目id")
    private Long skuItemId;

    @ApiModelProperty("skuId")
    private Long skuId;

    @ApiModelProperty("评估项目id")
    private Long itemId;

    @ApiModelProperty("评估项目名称")
    private String itemName;

    @ApiModelProperty("评估项目选项类型")
    private Integer selectType;

    private String selectTypeDesc;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("评估选项列表")
    private List<SkuEvaluateItemValueDTO> skuEvaluateItemValues;

//    public String getSelectTypeDesc() {
//        return EvaluateItemSelectTypeEnum.getDesc(selectType);
//    }
}
